package com.fruit.enums;

import lombok.Getter;

/**
 * @Description: 枚举
 * @Author: LJ
 * @Date: 2018/10/26 11:20
 * @version:
 */
@Getter
public enum ProductStatusEnum {
    UP(1, "上架"),
    DOWN(2, "下架");
    private Integer code;
    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
